@import 'variables.scss';

/******************************
BLOG MANAGER for JOURNAL
*******************************/

#blogCatArticles{
  margin-bottom: 20px;
  h3 {
    font-size: 15px;
    a{
      font-family: inherit;
    }
  }
}

#blogCategory{
  margin-bottom: 10px;
}

.articleHeader{
  margin: 0 0 10px 0;
}

.articleCat, .blogCol2 .articleCat{
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

#blogArticle{
  .articleHeader {
    margin: 0;
    h1{
      color: white;
      background-color: $red;
      padding-left: 10px;
      line-height: 40px;
      max-height: 40px;
      font-size: 15px;
      font-weight: normal;
      text-transform: uppercase;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      border: none;
    }
    > span{
      display: block;
      padding: 5px 0;
      color: $gray;
    }
  }
}

.articleBottom{
  clear: both;
}

.articleBottom,
#blogCategory{
  h4{
    margin: 0 0 5px 0;
  }
  ul{
    margin: 0 0 0 10px;
  }
}

.livemarks a{
  margin-right: 5px;
  margin-top: -44px;
}

#articleComments{
  background-color: $f4;
  border: 0;
}

.blogTags a {
  padding: 2px 4px 3px 4px;
  color: #222;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  font-size: 13px !important;
  display: inline-block;
  margin-bottom: 4px;
}



.recentArticles, .popularArticles{
  list-style: none;
  margin: 15px 0 0 0;
  padding: 0;
  li{
    float:left;
    margin-right: 15px;
    margin-bottom: 15px;
    > a{
      display: block;
      float: left;
      color: $blue;
    }
    > a+a{
      float: none;
    }
    > span{
      display: block;
      font-size: 85%;
    }
  }
}
.box-footer{
  clear: both;
}

#column-right, #column-left {
  .recentArticles, .popularArticles{
    list-style: none;
    margin: 0;
    padding: 0;
    li{
      float:none;
      background-color: $f4;
      border-bottom: 1px solid $e4;
      margin: 0;
      > a{
        display: inline-block;
        float: left;
        color: $blue;
        background-color: transparent;
        border-bottom: 0;
        padding: 10px 5px 10px 10px;
      }

      > a+a{
        float: none;
        padding:10px 0 3px 0;

      }
      > span{
        display: block;
        font-size: 85%;
      }
      p{
        clear: both;
        padding: 0;
      }
    }
  }

  .recentComments{
    list-style: none;
    margin: 0;
    padding: 0;
    li{
      float:none;
      background-color: $f4;
      border-bottom: 1px solid $e4;
      padding-top: 10px;
      overflow: hidden;
      > a{
        display: inline-block;
        float: left;
        background-color: transparent;
        border-bottom: 0;
        padding: 0 5px 10px 10px;
      }
      > a + i +a{
        float: none;
        padding:10px 0 3px 0;
        display: block;

      }
      > span{
        display: block;
        font-size: 85%;
      }
      p{
        clear: both;
        padding: 0;
      }
    }
  }
}

#productRelated{
  .secondary-title{
    margin-top: 15px;
  }
}

.side-column {
  .recentArticles li,
  .popularArticles li,
  .recentArticles li,
  .popularArticles li,
  .box-content ul > li:last-of-type,
  .box-content ul > li:last-of-type,
  .box-content ul > li:last-of-type a,
  .box-content ul > li:last-of-type a {
    &:last-of-type {
      border-bottom-width: 0;
    }
  }
}

.blogArchives ul ul{
  margin: 0;
}

